home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / macintosh-c / macc-carbon-demos-nonbinhex.sit / macc-carbon-demos-nonbinhex / chap24-demo-classic events / SoundAndSpeech.c.rsrc / TEXT_16903.txt < prev   
Text File  |  2001-05-31  |  1KB  |  30 lines

  1. // *******************************************************************************************
  2. // SoundAndSpeech.c                                      CARBONIZED.  USES CLASSIC EVENT MODEL
  3. // *******************************************************************************************
  4. //
  5. // This program opens a modeless dialog containing five bevel button controls arranged in
  6. // two groups, namely, a synchronous sound group and an asynchronous sound group.  Clicking on
  7. // the bevel buttons causes sound to be played back or recorded as follows:
  8. //
  9. // ‚Ä¢    Synchronous group:
  10. //
  11. //        ‚Ä¢  Play sound resource.
  12. //
  13. //        ‚Ä¢  Record sound resource (Mac OS 8/9 only).
  14. //
  15. //        ‚Ä¢  Speak text string.
  16. //
  17. // ‚Ä¢    Asynchronous group:
  18. //
  19. //        ‚Ä¢  Play sound resource.
  20. //
  21. //        ‚Ä¢  Speak text string.
  22. //
  23. // The asynchronous sound sections of the program utilise a special library called
  24. // AsyncSoundLibPPC, which must be included in the CodeWarrior project.
  25. //
  26. // The program utilises the following resources:
  27. //
  28. // ‚Ä¢    A 'carb' resource.
  29. //
  30. // ‚Ä¢    A 'D